<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!-- Include the standard tag library JSP -->
<%@ include file="/include/taglibs.jsp"%>
<html>
<head>
<title>系统异常</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="css/default.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
	<tr valign="top">
		<td height="20"><font color="red"><strong>系统发生运行期异常:</strong></font></td>
	</tr>
	<tr valign="top">
		<td><c:set var="exceptionVar">org.apache.struts.action.EXCEPTION</c:set> <c:set var="exception"
			value="${requestScope[exceptionVar]}" /> <c:if test="${exception!=null}">
			<br>
			<font color="red">错误代码：</font>
			<c:out value="${exception.class.name}" />
			<br>
			<font color="red">错误信息：</font>
			<c:out value="${exception.localizedMessage}" />
			<br>
			<font color="red">异常位置：</font>
			<c:forEach var='stackTrace' items="${exception.stackTrace}"><br>
                   class :<c:out value="${stackTrace.className}" />
                   method :<c:out value="${stackTrace.methodName}" />
                   line : <c:out value="${stackTrace.lineNumber}" />
			</c:forEach>
		</c:if></td>
	</tr>
</table>
</body>
</html>
